/*
 *      Here you can find sub implementing tha ATA-Standard protocols.
 *      Each Hd command must be executed throught one of these
 *      protocols.
 *      Parameters meanings are command dependent.
 *      Refer to Ata-4 document to see what protocol to use for each
 *      command and the meaning of each parameter.
 *      Some protocols are not developed exactly as T13 says.
 *
 *      Read IdeDebug for Error Return Code Explain.
 */

#ifndef IDEATA_H
#define IDEATA_H

int IdeDeviceSelection(int );
void IdeDeviceDetection(int );
void IdeDeviceTypeDetection(int );
int IdeSoftReset(int ,int );
int IdeNonData(int ,int ,int ,int ,u32int ,int ,int ,int );
int IdePioDataInLba(int ,int ,int ,int ,u32int ,u16int *,int ,int ,int );
int IdePioDataIn(int ,int ,int ,int ,u32int ,int ,int ,u16int *,int ,int ,int );
int IdePioDataOutLba(int ,int ,int ,int ,u32int ,u16int *,int ,int ,int );
int IdePioDataOut(int ,int ,int ,int ,u32int ,int ,int ,u16int *,int ,int ,int );

#endif

